package com.alison.module.authors.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

@AllArgsConstructor
public enum UserSexEnum implements KeyValueEnum {
    MAN(1, "男"), WOMAN(2, "女");
    int code;
    String description;

    @Override
    public int getKey() {
        return this.code;
    }

    @Override
    public String getValue() {
        return this.description;
    }
}